Carbon


IterateThemes

Header: Appearance.h Carbon status: Supported

Iterates over all themes installed on a system.

OSStatus IterateThemes (
    ThemeIteratorUPP inProc, 
    void *inUserData
);
inProc

A value of type ThemeIteratorUPP. Pass a universal function pointer to an application-defined function such as that described in ThemeIteratorProcPtr. IterateThemes calls the specified function for each theme found installed in the system.

inUserData

A pointer to data of any type. Provide any data to be passed in to the inUserData parameter of the callback function specified in the inProc parameter. Pass NULL, if you do not wish to provide any data.

function result

A result code.

DISCUSSION

The IterateThemes function continues to iterate until the function specified in the inProc parameter returns false or until there are no more themes.

VERSION NOTES

This function is available with Appearance Manager 1.1 and later.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)